<!doctype html>
<html>
<head>
    <title>修改学生信息</title>
    <meta charset="UTF-8">
	<!--按调用css图层样式-->
    <link rel="stylesheet" type="text/css" href="htmlStyle.css">
</head>

<body>
	<div>
		<h2 style="text-align: center;">修改学生信息</h2>
		<form method="post" action="studb.php">
			学号: <input type="text" name="学号" required><br>
			姓名: <input type="text" name="姓名" required><br>
			年龄: <input type="number" name="年龄" required><br>
			性别: <input type="text" name="性别" required><br>
			专业: <input type="text" name="专业" required><br>
			<input type="hidden" name="action" value="update">
			<div class="button-container">
				<input type="submit" value="修改">
				<button onclick="window.location.href='index.html'">返回首页</button>
			</div>
		</form>
	</div>
</body>
</html>
